package com.xmx.productcenter.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import java.util.Map;

import static  com.xmx.common.rabbitDto.OrderDto.*;

//import static com.xmx.common.rabbitDto.OrderDto.STOCK_RELESE_QUEUE;

//@Slf4j
//@Component
//@RabbitListener(queues = {STOCK_RELESE_QUEUE})
public class RabbitmqConfig {

//    @RabbitHandler
    public void omMessage(Map map){
//        log.error("data=============>>>{}",map);
        //查询订单状态

    }


}
